본문으로 건너뛰기

L1 loss

A loss function that calculates the absolute value of the difference between actual label values and the values that a model predicts. L1 loss is less sensitive to outliers than L2 loss.1

L1loss=i=0n|yiy^i|

where:

  • n is the number of examples.
  • y is the actual value of the label.
  • y^ is the value that the model predicts for y.

See also

Footnotes

  1. developers.google.com/machine-learning/glossary#l1-loss